package com.info.zhiduoduo.common.configs;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
@Component
@ConfigurationProperties
@PropertySource("classpath:recharge-notify.properties")
public class RechargeNotifyConfig {

	/** 接收通知的微信openid */
	private String openid;
	/** 通知详情页面url */
	private String detailurl;
}
